package com.situ.mall.service;

import com.situ.mall.entity.Category;
import com.situ.mall.entity.CategoryCount;

import java.util.List;

public interface ICategoryService {
	/**
	 * 查询顶级分类，就是parent_id=0
	 * @return
	 */
	public List<Category> selectTopCategoryList();

	public List<Category> selectSecondCategoryByTopCategoryId(Integer topCategoryId);

	public List<Category> selectSecondCategoryList();

	public List<CategoryCount> getCategoryCount();
}
